package com.demo.httpMessageconverters;

import org.springframework.boot.autoconfigure.web.HttpMessageConverters;
import org.springframework.context.annotation.Bean;
import org.springframework.http.converter.HttpMessageConverter;

import com.demo.httpMessageconverters.converters.DateConverter;

//没测试
public class Config {

	@Bean
	public HttpMessageConverters customConverters() {
		HttpMessageConverter<?> additional = new DateConverter();
		return new HttpMessageConverters(additional);
	}
}
